function test( )
%TEST Export functions test
%   Exports sample data using both text and binary format

    % sample data
    samples = [ 0 0 1 1 1 1 1;
                1 1 0 0 1 1 1;
                1 0 1 0 1 1 0 ]';
    classes = [ 1 1 2 2 3 4 4 ]';
    
    % export to file for mRMR turbo usage
    disp('-- Export in text format...');
    export_text(samples, classes, 'output\\text\\data.txt');
    disp('-- Done!');
    disp('-- Export in binary format...');
    export_bin(samples, classes, 'output\\binary');
    disp('-- Done!');
end

